Explanation of videos

Vid1 shows the transition from the off state to the warming up state and then to the normal state.

Vid2 shows the transition from warming up to the detection state because the push button was pressed to simulate a logic high input from the PIR sensor.